<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #app {
      width: 400px;
      height: 400px;
      margin: 0 auto;
    }

    #app img {
      width: 100%;
      height: 100%;
    }
  </style>
</head>

<body>
  <div id='app'>
    <!-- v-bind:src   =>  :src  也就是把v-bind给省略了 -->
    <!-- <img v-bind:src="imgUrl" alt="" v-bind:title="msg"> -->
    <img :src="imgUrl" alt="" :title="msg">
  </div>
  <script src="../vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        imgUrl: '../images/1.jpg',
        msg: 'FindYou'
      },
      methods: {

      }
    })
  </script>
</body>

</html>